/**
 * Created by Administrator on 2017/7/7 0007.
 */
$(function () {
    //
    jQuery.ajax({
        type:"get",
        url:"json/student.json",
        dateType:"json",
        success:function (data) {
            var img = data;
            for(var i=0;i<data.length;i++){
                $(".student_mis_portrait ul").append('<li style="float: left;margin-left:26px;margin-top: 20px"><img style="width: 72px;height: 101px" src="'+ img[i].img +'"><p>'+img[i].name+'</p><p>'+img[i].fraction+'</p></li>');
            }

        }
    })
    $(".helloWord").click(function () {
        alert("hello!");
    })
})